package com.molyfun.parents.rest.bean;

import com.molyfun.parents.rest.BaseResponse;

import java.util.List;

/**
 * Created by Administrator on 2017/11/15 0015.
 */

public class SignUpListResponse extends BaseResponse {

    /**
     * data : {"offset":0,"limit":10,"total":0,"size":10,"pages":0,"current":1,"searchCount":true,"openSort":true,"orderByField":null,"records":[{"id":"dc2bdcdaa9404c14adc44025f80bfba7","name":"王五","sex":"0","birthdatetime":1451577600000,"parity":"2","cityid":"e548cebc5e287041015e2bccd6da0028","cityname":null,"cardid":"612501201701011234","createdatetime":1510624067000,"departid":"8a2d9263540d4e2f01540d57421b0001","status":"拒收","departname":"测试机构","countryid":"e548cebc5e287041015e2bccd6fc002a","address":null}],"condition":null,"offsetCurrent":0,"asc":true}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * offset : 0
         * limit : 10
         * total : 0
         * size : 10//每页显示条数
         * pages : 0//总页数
         * current : 1//当前页
         * searchCount : true
         * openSort : true
         * orderByField : null
         * records : [{"id":"dc2bdcdaa9404c14adc44025f80bfba7","name":"王五","sex":"0","birthdatetime":1451577600000,"parity":"2","cityid":"e548cebc5e287041015e2bccd6da0028","cityname":null,"cardid":"612501201701011234","createdatetime":1510624067000,"departid":"8a2d9263540d4e2f01540d57421b0001","status":"拒收","departname":"测试机构","countryid":"e548cebc5e287041015e2bccd6fc002a","address":null}]
         * condition : null
         * offsetCurrent : 0
         * asc : true
         */

        private int offset;
        private int limit;
        private int total;
        private int size;
        private int pages;
        private int current;
        private boolean searchCount;
        private boolean openSort;
        private Object orderByField;
        private Object condition;
        private int offsetCurrent;
        private boolean asc;
        private List<RecordsBean> records;

        public int getOffset() {
            return offset;
        }

        public void setOffset(int offset) {
            this.offset = offset;
        }

        public int getLimit() {
            return limit;
        }

        public void setLimit(int limit) {
            this.limit = limit;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public boolean isSearchCount() {
            return searchCount;
        }

        public void setSearchCount(boolean searchCount) {
            this.searchCount = searchCount;
        }

        public boolean isOpenSort() {
            return openSort;
        }

        public void setOpenSort(boolean openSort) {
            this.openSort = openSort;
        }

        public Object getOrderByField() {
            return orderByField;
        }

        public void setOrderByField(Object orderByField) {
            this.orderByField = orderByField;
        }

        public Object getCondition() {
            return condition;
        }

        public void setCondition(Object condition) {
            this.condition = condition;
        }

        public int getOffsetCurrent() {
            return offsetCurrent;
        }

        public void setOffsetCurrent(int offsetCurrent) {
            this.offsetCurrent = offsetCurrent;
        }

        public boolean isAsc() {
            return asc;
        }

        public void setAsc(boolean asc) {
            this.asc = asc;
        }

        public List<RecordsBean> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsBean> records) {
            this.records = records;
        }

        public static class RecordsBean {
            /**
             * id : dc2bdcdaa9404c14adc44025f80bfba7
             * name : 王五
             * sex : 0
             * birthdatetime : 1451577600000
             * parity : 2
             * cityid : e548cebc5e287041015e2bccd6da0028
             * cityname : null
             * cardid : 612501201701011234
             * createdatetime : 1510624067000
             * departid : 8a2d9263540d4e2f01540d57421b0001
             * status : 拒收
             * departname : 测试机构
             * countryid : e548cebc5e287041015e2bccd6fc002a
             * address : null
             */

            private String id;
            private String name;
            private String sex;
            private long birthdatetime;
            private String parity;
            private String cityid;
            private Object cityname;
            private String cardid;
            private long createdatetime;
            private String departid;
            private String status;
            private String departname;
            private String countryid;
            private Object address;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public long getBirthdatetime() {
                return birthdatetime;
            }

            public void setBirthdatetime(long birthdatetime) {
                this.birthdatetime = birthdatetime;
            }

            public String getParity() {
                return parity;
            }

            public void setParity(String parity) {
                this.parity = parity;
            }

            public String getCityid() {
                return cityid;
            }

            public void setCityid(String cityid) {
                this.cityid = cityid;
            }

            public Object getCityname() {
                return cityname;
            }

            public void setCityname(Object cityname) {
                this.cityname = cityname;
            }

            public String getCardid() {
                return cardid;
            }

            public void setCardid(String cardid) {
                this.cardid = cardid;
            }

            public long getCreatedatetime() {
                return createdatetime;
            }

            public void setCreatedatetime(long createdatetime) {
                this.createdatetime = createdatetime;
            }

            public String getDepartid() {
                return departid;
            }

            public void setDepartid(String departid) {
                this.departid = departid;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getDepartname() {
                return departname;
            }

            public void setDepartname(String departname) {
                this.departname = departname;
            }

            public String getCountryid() {
                return countryid;
            }

            public void setCountryid(String countryid) {
                this.countryid = countryid;
            }

            public Object getAddress() {
                return address;
            }

            public void setAddress(Object address) {
                this.address = address;
            }
        }
    }
}
